package com.acme.bankapp.domain.bank.account;

import com.acme.bankapp.domain.bank.exception.NotEnoughFundsException;

public interface Account {
    int getMoney();
    Account depositMoney(int amount);
    Account withdrawMoney(int amount) throws NotEnoughFundsException;
}
